/**
 * 
 */
package jgame.Admin;

import java.awt.EventQueue;

/**
 * @author Justin
 *
 */
public class Test {

	/**
	 * @param args
	 */
	private static JGameFrame GAME_FRAME;
	
	public static void main(String[] args) {
		JGameContentReader reader = new JGameContentReader("Game Content");
		//reader.test();
		createAndShowGUI();	
		GAME_FRAME.setContent(reader);
		GAME_FRAME.setState(101201);		
	}
	
	private static void createAndShowGUI()
	{
		GAME_FRAME = new JGameFrame();
		
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {					
					GAME_FRAME.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

}
